package com.guys8.cemsbackend.DTO;

import com.guys8.cemsbackend.entity.Health;
import com.guys8.cemsbackend.entity.Nacid;
import com.guys8.cemsbackend.entity.User;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;
@Getter
@Setter
public class NacidInformation {

    //private UserInformation userInformation;
    private Date nacidTime;
    private String nacidPlace;
    private String nacidResult;

    public NacidInformation(){}
    public NacidInformation(User user, Nacid nacid){
        //setUserInformation(new UserInformation(user));
        setNacidTime(nacid.getNacidTime());
        setNacidPlace(nacid.getNacidPlace());
        setNacidResult(nacid.getNacidResult());
    }

    public NacidInformation(Nacid nacid){
        setNacidTime(nacid.getNacidTime());
        setNacidPlace(nacid.getNacidPlace());
        setNacidResult(nacid.getNacidResult());
    }
}
